/* eslint-disable @typescript-eslint/explicit-function-return-type */
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { App } from 'vue';
import { registerEditorProvider } from '@ibiz-template/runtime';
import { StepCodeList } from './step-codelist';
import { StepCodeListProvider } from './step-codelist.provider';

export default {
  install(v: App) {
    v.component('StepCodeList', StepCodeList);
    registerEditorProvider(
      'EDITOR_CUSTOMSTYLE_STEP_CODELIST',
      () => new StepCodeListProvider(),
    );
  },
};
